<template>
  <div>
    <h1>video测试</h1>

    <video ref="video" id="my-video" controls></video>
  </div>
</template>

<script setup lang="ts">
import { ref, onMounted } from "vue";

const video = ref<HTMLVideoElement>();

onMounted(() => {
  setTimeout(() => {
  if (video.value) {
    video.value.src = "/xigua/c92ddddd-ae48-4bb4-9e20-bee9f41e88dd";
  }
  }, 1000);
});
</script>

<style scoped></style>
